package com.starry.module.system.core.oauth2.authorization.third;

import com.starry.module.system.core.oauth2.entity.Oauth2ThirdClient;

/**
 * 第三方认证客户端的抽象类，提供模板方法，减少子类的冗余代码
 *
 * @author xiaoke
 */
public abstract class AbstractThireClient implements ThireClient {

    protected final String code;

    protected final Oauth2ThirdClient thirdClientConfig;

    protected AbstractThireClient(String code, Oauth2ThirdClient thirdClientConfig) {
        this.code = code;
        this.thirdClientConfig = thirdClientConfig;
    }
}
